package com.yingpai.fitness.entity;

import android.support.annotation.NonNull;

/**
 * Created by ASUS on 2018/5/18.
 */

public class ShopDetailMcipChildBean implements Comparable<ShopDetailMcipChildBean> {

    /**
     * propertyId : 8
     * propertyValue : M
     */

    private int propertyId;
    private String propertyValue;

    public int getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(int propertyId) {
        this.propertyId = propertyId;
    }

    public String getPropertyValue() {
        return propertyValue;
    }

    public void setPropertyValue(String propertyValue) {
        this.propertyValue = propertyValue;
    }


    @Override
    public int compareTo(@NonNull ShopDetailMcipChildBean o) {
        if (this.propertyId > o.getPropertyId()) {
            return 1;
        } else if (this.propertyId < o.getPropertyId()) {
            return -1;
        }
        return 0;
    }
}
